package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.member.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.List;

/**
 * 秒杀页关联商品对象 sys_biz_seckill_goods_page
 *
 * @author lixinchen
 * @date 2025-04-12
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_seckill_goods_page")
public class SysBizSeckillGoodsPage implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 唯一id
     */
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 租户id
     */
    @Excel(name = "租户id")
    private Long tenantId;


    /**
     * 秒杀页id
     */
    @Excel(name = "秒杀页id")
    private Long seckillId;


    /**
     * 模块标题
     */
    @Excel(name = "模块标题")
    private String modeleTitle;


    /**
     * 模块图片
     */
    @Excel(name = "模块图片")
    private String modeleCover;


    /**
     * 是否顶部配置(0:是，1:否)
     */
    @Excel(name = "是否顶部配置(0:是，1:否)")
    private Integer isTop;


    /**
     * 商品id(逗号隔开)
     */
    @Excel(name = "商品sku id(逗号隔开)")
    private String goodsId;


    /**
     * 商品id sku
     */
    @TableField(exist = false)
    private List<SysBizGoodsSku> goodsSkuList;

}
